//
//  Constant.h
//  QuickCure
//
//  Created by 徐绩 on 16/5/4.
//  Copyright © 2016年 ayumi. All rights reserved.
//  宏定义

#ifndef Constant_h
#define Constant_h

//打印
#define Log(...) NSLog(__VA_ARGS__)

//屏幕宽
#define screenW [UIScreen mainScreen].bounds.size.width
//屏幕高
#define screenH [UIScreen mainScreen].bounds.size.height
//主页间距
#define homeMargin 15

//浅灰色背景色
#define loginBackGroundColor [UIColor colorWithRed:249/255.0 green:249/255.0 blue:249/255.0 alpha:1]



//随机颜色
#define random(r, g, b, a) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:(a)/255.0]
#define randomColor random(arc4random_uniform(255), arc4random_uniform(255), arc4random_uniform(255), arc4random_uniform(255))
//主页天气字体颜色
#define weatherLabelColor [UIColor colorWithRed:91/255.0 green:164/255.0 blue:152/255.0 alpha:1]
//主页侧滑顶部视图背景色
#define LeftHeadViewColor  [UIColor colorWithRed:41 / 255.0 green:166 / 255.0 blue:156 / 255.0 alpha:1]
//公共字体颜色
#define commonTextColor [UIColor colorWithRed:18 / 255.0 green:178 / 255.0 blue:175 / 255.0 alpha:1]





//主页字体大小
#define homeFont  15
//抽屉登录界面登录字体大小
#define leftViewLoginFont 14
//个人信息界面tabelView字体
#define personalCellFont 17



//weak Self
#define WEAKSELF __weak typeof(self) weakSelf = self;
#define  TextImageHeight 30

//偏好设置
#define UserDefault [NSUserDefaults standardUserDefaults]

#endif /* Constant_h */


